package com.tigerhhzz.wuaimai;


import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author tigerhhzz
 * @date 2023/3/11 19:37
 */
@Slf4j
@SpringBootApplication
@ServletComponentScan
@EnableTransactionManagement(proxyTargetClass = true)
@EnableCaching  //开启缓存注解功能
public class tigerhhzzwaimaiappliction {

    public static void main(String[] args) {
        SpringApplication.run(tigerhhzzwaimaiappliction.class,args);
        log.info("tiger的项目启动成功。");
    }
}
